home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / LOCALMFC.PAK / LOCALIFR.ODL < prev    next >
Text File  |  1997-05-06  |  2KB  |  80 lines

  1. // localifr.odl : French type library source for OLE Custom Control project.
  2.  
  3. // This file will be processed by the Make Type Library (mktyplib) tool to
  4. // produce the French type library for the Localize sample control
  5. // (localifr.tlb).
  6.  
  7. // This is a part of the Microsoft Foundation Classes C++ library.
  8. // Copyright (C) 1992-1994 Microsoft Corporation
  9. // All rights reserved.
  10. //
  11. // This source code is only intended as a supplement to the
  12. // Microsoft Foundation Classes Reference and the
  13. // Books Online documentation provided with the library.
  14. // See these sources for detailed information regarding the
  15. // Microsoft Foundation Classes product.
  16.  
  17. #include <olectl.h>
  18.  
  19. [ uuid(879D6FE3-5470-101B-B57B-00608CC96AFA), version(1.0),
  20.   helpstring("Localize OLE Custom Control module"), control,
  21.   lcid(0x040c) ]
  22. library LocalizeLib
  23. {
  24.     importlib(STDOLE_TLB);
  25.     importlib(STDTYPE_TLB);
  26.  
  27.     //  Primary dispatch interface for CLocalizeCtrl
  28.  
  29.     [ uuid(035E3E52-6745-101B-B57B-00608CC96AFA),
  30.       helpstring("Dispatch interface for Localize Control"), hidden ]
  31.     dispinterface _DLocalize
  32.     {
  33.         properties:
  34.             // NOTE - ClassWizard will maintain property information here.
  35.             //    Use extreme caution when editing this section.
  36.             //{{AFX_ODL_PROP(CLocalizeCtrl)
  37.             [id(1)] boolean InvertInFrench;
  38.             [id(DISPID_CAPTION), bindable, requestedit] BSTR CaptionInFrench;
  39.             //}}AFX_ODL_PROP
  40.  
  41.         methods:
  42.             // NOTE - ClassWizard will maintain method information here.
  43.             //    Use extreme caution when editing this section.
  44.             //{{AFX_ODL_METHOD(CLocalizeCtrl)
  45.             //}}AFX_ODL_METHOD
  46.  
  47.             [id(DISPID_ABOUTBOX)] void AboutBoxInFrench();
  48.     };
  49.  
  50.     //  Event dispatch interface for CLocalizeCtrl
  51.  
  52.     [ uuid(035E3E53-6745-101B-B57B-00608CC96AFA),
  53.       helpstring("Event interface for Localize Control") ]
  54.     dispinterface _DLocalizeEvents
  55.     {
  56.         properties:
  57.             //  Event interface has no properties
  58.  
  59.         methods:
  60.             // NOTE - ClassWizard will maintain event information here.
  61.             //    Use extreme caution when editing this section.
  62.             //{{AFX_ODL_EVENT(CLocalizeCtrl)
  63.             [id(DISPID_CLICK)] void ClickInFrench();
  64.             //}}AFX_ODL_EVENT
  65.     };
  66.  
  67.     //  Class information for CLocalizeCtrl
  68.  
  69.     [ uuid(879D6FE0-5470-101B-B57B-00608CC96AFA),
  70.       helpstring("Localize Control (in French)"), control ]
  71.     coclass Localize
  72.     {
  73.         [default] dispinterface _DLocalize;
  74.         [default, source] dispinterface _DLocalizeEvents;
  75.     };
  76.  
  77.  
  78.     //{{AFX_APPEND_ODL}}
  79. };
  80.